Description: 词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现.-lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generated object code, object code to explain the implementation of a detailed exposition of a compiler the design and implementation. Platform: |
Size: 28056 |
Author:数据库 |
Hits:
Description: c语言编译器,跨平台,4.2版本
lcc version 3.x is described in the book \"A Retargetable C Compiler:
Design and Implementation\" (Addison-Wesley, 1995, ISBN 0-8053-1670-1).
There are significant differences between 3.x and 4.x, most notably in
the intermediate code. For details, see
http://www.research.microsoft.com/~drh/pubs/interface4.pdf.
-c compiler, cross-platform, version 4.2 LCC version 3.x is described in the book "A Retargetable C Compiler : Design and Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1). There are significant differences between 3.x and 4.x, most notably in the intermediate code. For details, see http://www.research.microsoft.com/ ~ drh/pubs/interface4.pdf. Platform: |
Size: 638508 |
Author:王陈 |
Hits:
Description: c语言编译器,3.6版本
lcc version 3.x is described in the book \"A Retargetable C Compiler:
Design and Implementation\" (Addison-Wesley, 1995, ISBN 0-8053-1670-1).
There are significant differences between 3.x and 4.x, most notably in
the intermediate code. For details, see
http://www.research.microsoft.com/~drh/pubs/interface4.pdf.
-c language compiler, version 3.6 LCC version 3.x is described in the book "A Retargetable C Compiler : Design and Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1). There are significant differences between 3.x and 4.x, most notably in the intermediate code. For details, see http://www.research.microsoft.com/ ~ drh/pubs/interface4.pdf. Platform: |
Size: 230951 |
Author:王陈 |
Hits:
Description: 将布尔表达式翻译成后缀式(即逆波兰式),中间有词法分析,语法分析及中间代码生成-Boolean expressions to be translated into the suffix- (reverse Polish), there is a lexical analysis, Grammatical analysis and intermediate code generator Platform: |
Size: 1308672 |
Author:张丽 |
Hits:
Description: 中间代码生成器设计(4学时)
1.实验目的
熟悉算术表达式的语法分析与中间代码生成原理。
2.实验类型
综合性。
3.实验基本要求
(1) 设计语法制导生成表达式的四元式的算法;
(2) 编写代码并上机调试运行通过。
• 输入——算术表达式
• 输出—— 语法分析结果
相应的四元式序列-Intermediate code generator design (4 hours) 1. The experiment was familiar with the arithmetic expression grammar analysis and intermediate code generation principle. 2. Experimental type integrated. 3. The basic requirements of the experiment (1) the design of grammar-guided generation of expression-style quaternion algorithm (2) write code and debug on the machine to run through. Platform: |
Size: 860160 |
Author:js |
Hits:
Description: while循环语句的翻译程序,以LL(1)文法实现,中间代码以三地址形式输出-while loop of the translation process to LL (1) grammar achieved intermediate code addresses the form of three output Platform: |
Size: 1442816 |
Author:蔡亮 |
Hits:
Description: 设计一个能对PASCAL语言子集完成词法分析、语法分析和生成中间代码(四元式)的编译器。-Design of a subset of the PASCAL language complete lexical analysis, syntax analysis and generation of intermediate code (quaternion type) of the compiler. Platform: |
Size: 2093056 |
Author:adaa |
Hits:
Description: decaf.jar 是将类java的decaf语言编译成tac码(Three address code,类似汇编指令)的编译器。
包含了前端的词法和语法分析、语义分析,中间代码的生成。是我最近写完的编译课的一个作业。
例子:
1. 调用
java -jar decaf.jar -l 2 blackjack.decaf > blackjack.tac
生成 *.tac 文件
2. 然后,调用
java -jar tac.jar blackjack.tac
这时候就可以玩一个21点的游戏了。这里的blackjack.decaf就是用decaf语言写的一个小游戏源代码-decaf.jar is the java type of decaf language tac compiled code (Three address code, similar to the compilation of command) of the compiler. Contains the front of lexical and syntax analysis, semantic analysis, intermediate code generation. I have recently finished writing a compiler class operation. Examples: 1. Call java-jar decaf.jar-l 2 blackjack.decaf Platform: |
Size: 367616 |
Author:int |
Hits:
Description: 软件学院学生编译原理课程实验,中间器代码生成器设计,输入算术表达式,输出语法分析结果及相应的四元式序列
-Software College courses students compiling principle experiment, intermediate code generator design, the importation of arithmetic expressions, the output syntax analysis and the corresponding sequence quaternion Platform: |
Size: 1024 |
Author:ren |
Hits:
Description: How to create a compiler, main parts of a compiler.Lexical analysis, Syntax analysis, Semantic analysis, Intermediate code generation, Optimization Code generation Platform: |
Size: 485376 |
Author:4EsT |
Hits:
Description: GCC 是基于Linux 下的开放源码的优化编译系统,可以接收多种高级源语言,广泛支持多平台操作系统。其代码优化机制,不仅能兼顾时间、空间效率,生成高质量的目标代码,而且具有很强的可移植性与可扩充性,是编译器优化研究的目标。通过对 GCC 的整体结构、优化策略、优化方法与关键技术、中间语言等进行详细的剖析,抽取出完整的 GCC 优化体系结构。文中集中探讨了 GCC 的优化策略和实现技术,首先从 GCC 优化体系的总体规划入手,着重分析了 GCC 的优化组织策略,设计、引入中间代码 RTL 的技巧和内涵,进一步研究了 GCC 所涉及的控制流分析技术、数据流分析技术的实现机制。 -GCC is based on the optimizing compiler under the Linux open-source system, you can receive a wide range of high-level source language, extensive support for multi-platform operating system. Code optimization mechanisms can not only take into account the time and space efficiency, generate high-quality object code, and has strong portability and scalability, is the objective of the study of compiler optimizations. The overall structure of the GCC, optimization strategies, optimization methods and key technologies, the intermediate language for a detailed analysis, extracted the GCC optimization architecture. Paper focused explore the GCC optimization strategies and to achieve technology, first of all from GCC optimize the system of overall planning to start focus on analysis of the GCC s optimization organization strategy design, the introduction of intermediate code RTL s skills and connotation, further study of the GCC are involved in the control flow analysis techniques, dat Platform: |
Size: 194560 |
Author:风云 |
Hits:
Description: 本源码用以实现以下功能的中间代码生成:
1.‘+’ ‘-‘ ‘*’ ‘/’ 四则运算的中间代码生成.
2.类型的扩展,比如Int扩展到Float
-The source code for the following functions middle generation: 1.' +' ' -' ' *' ' /' Four operations generate intermediate code 2. Type of extensions, such as Int extended to Float. Platform: |
Size: 1099776 |
Author:xiaowang |
Hits:
Description: 中间代码生成+扫描器,可用,但还有很多不足,共同进步-Intermediate code generation+ scanners available, but there are many deficiencies, and common progress Platform: |
Size: 960512 |
Author:wangwu |
Hits: